package com.hqyj.mapper;

import com.hqyj.pojo.Ticket;

import java.util.List;

public interface TicketMapper {
    //查询
    List<Ticket> selectAll(String ticketname);
    //添加
    int insertTicket(Ticket ticket);
    //查询一个
    Ticket showTicketById(int ticketid);
    //修改
    int updateTicket(Ticket ticket);
    //删除
    int delateTicket(int ticketid);
}
